import router from '@/router'

const goDetail = (id) => {
  router.push(`/detail/${id}`)
}

export default goDetail